用户名:
<?php
$auth = Zend_Auth::getInstance ();
echo $auth->getIdentity ()->username;
echo $this->form;
?>
<script language='javascript'>
    $(function(){
        $("#user").validate({
            event: "keyup",
            errorClass: "error",
            rules: {
                passWord_old: {
                    required: true
                },
                passWord: {
                    required: true,
                    required: true,
                    minLength: 6,
                    maxLength: 16
                },
                passWord_re: {
                    required: true,
                    minLength: 6,
                    maxLength: 16,
                    equalTo: '#passWord'
                }
            },
            messages: {
                passWord_old: {
                    required: "请填写原密码!"
                }, //请填写原密码!
                passWord: {
                    required: "请输入新密码!",
                    minLength: "密码长度至少是6位!",
                    maxLength: "密码长度最长是16位!"
                }, //请输入密码 密码长度至少是6!  密码长度最长是16位!
                passWord_re: {
                    required: "重复密码不能为空!",
                    minLength: "重复密码长度至少是6位!",
                    maxLength: "重复密码长度最长是16位!",
                    equalTo: "两次输入的密码不相同！"
                }
            }
        });
    })
</script>
